home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d21
/
dvglue.arc
/
DVVER.C
< prev
next >
Wrap
C/C++ Source or Header
|
1990-01-09
|
962b
|
28 lines
/*====================================================*/
/* DVVER.C */
/* */
/* (c) Copyright 1988 Ralf Brown All Rights Reserved */
/* May be freely copied for noncommercial use, */
/* provided that this copyright notice remains intact */
/* and any changes are clearly indicated in the */
/* comment blocks preceding functions */
/*====================================================*/
#include "tvapi.h"
/*======================================================*/
/* DVver--return DESQview version, -1 if not loaded */
/* Ralf Brown 4/3/88 */
/*======================================================*/
WORD pascal DVver(void)
{
_AX = 0x2B01 ;
_CX = 0x4445 ;
_DX = 0x5351 ;
geninterrupt(0x21);
return (_AL == 0xFF) ? -1 : _BX ;
}
/* End of DVVER.C */